package android.slc.icr.core.constant;

import io.reactivex.rxjava3.core.Scheduler;
import io.reactivex.rxjava3.schedulers.Schedulers;

public class IcrConstants {
    /**
     * 调度器
     */
    public static final Scheduler OBSERVE_ON_SCHEDULER = Schedulers.newThread();

    public static class Key {
        public final static String KEY_SLC_ICR = "slcIcr";
    }

    public static class Value {
    }

    public static class Action {

        public static final String ACTION_PARAM_MISSING_SUFFIX = "0";//缺少参数
        public static final String ACTION_PARAM_ILLICIT_SUFFIX = "1";//非法的
        public static final String ACTION_ALREADY_SO = "2";//已经是该状态
        //发送消息类型
        public static final String ACTION_RTC_SEND_MSG_C2C = "1010";//c2c：端对端私密消息
        public static final String ACTION_RTC_SEND_MSG_CHART_ROOM = "1011";//房间：房间群发消息
        //创建房间
        public static final String ACTION_CHART_ROOM_CREATE = "2000";
        public static final String ACTION_CHART_ROOM_CREATE_USING = ACTION_CHART_ROOM_CREATE + "10";//直播间正在被其他用户使用
        public static final String ACTION_CHART_ROOM_CREATE_EXISTED = ACTION_CHART_ROOM_CREATE + "11";//已创建
        //销毁房间
        public static final String ACTION_CHART_ROOM_DESTROY = "2001";
        //成员变化
        public static final String ACTION_CHART_ROOM_MEMBER_CHANGE = "2002";
        //开始上麦
        public static final String ACTION_CHART_ROOM_ACTOR_START = "2003";
        //停止上麦
        public static final String ACTION_CHART_ROOM_ACTOR_STOP = "2004";
        //加入房间
        public static final String ACTION_CHART_ROOM_JOIN = "2005";
        //退出房间
        public static final String ACTION_CHART_ROOM_LEFT = "2006";
        //申请加入连麦
        public static final String ACTION_CHART_ROOM_ACTOR_APPLY = "2007";
        //申请加入连麦结果
        public static final String ACTION_CHART_ROOM_ACTOR_APPLY_RESULT = "2008";
        //处理申请上麦
        public static final String ACTION_CHART_ROOM_ACTOR_APPLY_HANDLER = "2009";
        //通知加入房间
        public static final String ACTION_CHART_ROOM_USER_JOIN = "2010";
        //通知退出房间
        public static final String ACTION_CHART_ROOM_USER_LEFT = "2011";
        //通知加入连麦
        public static final String ACTION_CHART_ROOM_ACTOR_JOIN = "2012";
        //通知退出连麦
        public static final String ACTION_CHART_ROOM_ACTOR_LEFT = "2013";
        //通知关闭直播间
        public static final String ACTION_CHART_ROOM_DESTROY_NOTIFY = "2014";
    }
}
